<?php $CDN= $this->CommonHelper()->imageDomain();?>
<body class="app" data-ad="true">
<section class="app-content">
	<section class="page page-index noline" data-plugin-type="info_front">
        <div class="top-bar">我的收藏<a href="javascript:;" class="btn-t-back"></a></div>
        <div class="item-list">
        	<?php if ($this->favorites):?>
        	<?php foreach ($this->favorites as $v):?>
        	<dl>
                <dt><img src='<?php echo "{$CDN}{$v['data']['org_thumb_image']}" ?>'</dt>
                <dd>
                    <h3 class="title_s"><a href="<?php echo $this->url('organization', array('action'=>'index','id'=> $v['data']['org_id']));?>" ><?php echo $v['data']['org_name'] ?></a></h3>
                    <div class="recommend">推荐商品/菜品：
                    	<?php  foreach($v['recommended'] as $k1=>$v1):?>
                    	<span><?php echo $v1;?></span>
                    	<?php endforeach;?>
                        <a class="ico-arr ico-down"></a>
                    </div>
                    <a class="ico-arr ico-right" href="<?php echo $this->url('organization', array('action'=>'index','id'=> $v['data']['org_id']));?>"></a>

                </dd>
            </dl>
            <?php endforeach; ?>
            <?php endif;?> 
        </div>
	</section>

    <!-- 底部menu-->
    <?php echo $this->partial('public/menu.phtml'); ?>
</section>